package com.yc.healthy.mapper;

import com.yc.healthy.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lyl
 * @since 2023-03-08
 */
public interface UserMapper extends BaseMapper<User> {

    @Insert("insert into user values(0,#{account},#{pwd},null)")
    int Register(@Param("account") String username, @Param("pwd") String pwd);
}
